﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ALMKickstarter.Data
{
	public class Feature
	{
		public int FeatureId { get; set; }
		public int ProjectId { get; set; }
		public string Name { get; set; }
		public int WorkflowStepId { get; set; }

		public virtual ICollection<Task> Tasks { get; set; }

		public virtual WorkflowStep WorkflowStep { get; set; }

		public Feature()
		{
			this.Tasks = new HashSet<Task>();
		}

		public Feature(int projectId, string name) : this()
		{
			this.ProjectId = projectId;
			this.Name = name;
		}
	}
}
